<?php

use yii\helpers\Html;
use yii\grid\GridView;

/* @var $this yii\web\View */
/* @var $searchModel app\models\MdspartsSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = 'Mdsparts';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="mdsparts-index">

    <h1><?= Html::encode($this->title) ?></h1>
    <?php // echo $this->render('_search', ['model' => $searchModel]); ?>

    <p>
        <?= Html::a('Create Mdsparts', ['create'], ['class' => 'btn btn-success']) ?>
    </p>
    <?= GridView::widget([
        'dataProvider' => $dataProvider,
        'filterModel' => $searchModel,
        'columns' => [
            ['class' => 'yii\grid\SerialColumn'],

            'id',
            'title',
            'part_number',
            'manufacturer_number',
            'list_price',
            // 'universal_part',
            // 'brand_title',
            // 'brand_id',
            // 'description:ntext',
            // 'fits:ntext',
            // 'specifications_json:ntext',
            // 'Quantity_Sold',
            // 'Product_Fit',
            // 'Warranty',
            // 'Color_Finish',
            // 'Material',
            // 'Location',
            // 'Series',
            // 'Notes:ntext',
            // 'Seat_Type',
            // 'Fit_Note:ntext',
            // 'Design',
            // 'Position',
            // 'Type',
            // 'Row',
            // 'Recommended_Use',
            // 'Vehicle_Body_Type',
            // 'Construction',
            // 'Kit_Type',

            ['class' => 'yii\grid\ActionColumn'],
        ],
    ]); ?>
</div>
